package cn.aixuxi.notebank;

import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;


/**
 * 功能描述: 相关注解
 *
 * @EnableDiscoveryClient 开启Nacos服务的注册与发现，配置中心
 */
//@EnableDiscoveryClient
@Slf4j
@MapperScan("cn.aixuxi.notebank.mapper")
@SpringBootApplication
public class NotebankApplication {

    public static void main(String[] args) {
        SpringApplication.run(NotebankApplication.class, args);
    }

}
